<template>
  <scroll class="content" ref="scroll">
    <cart-list-item
      :itemInfo="item"
      v-for="(item, index) in list"
      :key="index"
    ></cart-list-item>

  </scroll>
</template>

<script>
import { mapGetters } from "vuex";
import CartListItem from "./cartListItem.vue";
import Scroll from "components/common/scroll/Scroll.vue";

export default {
  data() {
    return {};
  },
  created() {},
  mounted() {},
  computed: {
    ...mapGetters({ list: "cartGoodsList" }),
  },
  components: { CartListItem, Scroll,},
  methods: {},
};
</script>

<style scoped lang="scss">
.content {
  position: absolute;
  width: 100%;
  top: 44px;
  bottom: 89px;
  overflow: hidden;
}
</style>
